CommonsBooking\Plugin B

Total Complexity 93
Dependencies 35
Dependents 19
Total lines 810
Lines of code 484
Logical lines of code 212
Comment lines 209
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
filterAdminBodyClass()
A
53 10 22
setParentFile()
S
53 7 24
addMenuPages()
S
44 4 50
runTasksAfterUpdate()
S
50 5 27
getTheContent()
S
62 6 11
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
savePostActions()
S
62 4 11
initRoutes()
S
53 3 24
UpdateNotice()
S
50 2 38
renderError()
S
56 3 19
updateLocationCoordinates()
S
66 4 8
init()
S
48 1 33
registerLocationTaxonomy()
S
58 2 16
registerItemTaxonomy()
S
58 2 16
AddImageSizes()
S
60 2 15
setAdvanceBookingDaysDefault()
S
64 3 8
isPostCustomPostType()
S
64 3 10
addCPTRoleCaps()
S
70 3 6
registerAdminOptions()
S
69 2 6
registerPostStates()
S
72 2 5
registerCustomPostTypes()
S
68 2 7
commonsbooking_load_textdomain()
S
64 2 9
admin_init()
S
67 2 8
maybeEnableCB1UserFields()
S
70 2 6
getRoleCapMapping()
S
62 1 13
deactivation()
S
80 1 3
registerUserWidget()
S
81 1 3
getCustomPostTypesLabels()
S
64 1 10
getCustomPostTypes()
S
64 1 10
initBookingcodes()
S
74 1 4
getCBManagerCustomPostTypes()
S
66 1 9
saveOptionsActions()
S
79 1 3
activation()
S
72 1 6